

/*
支付类型 1:微信2:支付宝3:网银
 */

export const payTypeDict = [
  {code: 'WX', codeName: '微信'},
  {code: 'ZHIFUBAO', codeName: '支付宝'},
  {code: 'WANGYING', codeName: '网银'},
];


export function payTypeGetName(code){
  for (let i = 0; i < payTypeDict.length; i++) {
    if (payTypeDict[i].code === code)
      return payTypeDict[i].codeName;
  }

  return "未知";
}
